import Http from "@/http"

export function listApi() {
    return Http.get('deptContacts/list')
}

export function importApi(data) {
    // const formData = new FormData()
    // formData.append('file', file)
    // return Http.post('deptContacts/import', formData)
    return Http.post('deptContacts/import', data)
}


export function deleteApi(id, index, i) {
    return Http.delete('deptContacts/delete', {id, index, i})
}
